package br.com.sge.modelo;

import java.io.Serializable;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.NamedQuery;
import javax.persistence.Table;


/**
 * The persistent class for the ORGAOEXPEDIDOR database table.
 * 
 */
@Entity
@Table(name="ORGAOEXPEDIDOR")
@NamedQuery(name="Orgaoexpedidor.findAll", query="SELECT o FROM OrgaoExpedidor o")
public class OrgaoExpedidor implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@GeneratedValue(strategy=GenerationType.AUTO)
	private int idOrgao;

	private String descricao;

	private int idEstado;

	public OrgaoExpedidor() {
	}

	public int getIdOrgao() {
		return this.idOrgao;
	}

	public void setIdOrgao(int idOrgao) {
		this.idOrgao = idOrgao;
	}

	public String getDescricao() {
		return this.descricao;
	}

	public void setDescricao(String descricao) {
		this.descricao = descricao;
	}

	public int getIdEstado() {
		return this.idEstado;
	}

	public void setIdEstado(int idEstado) {
		this.idEstado = idEstado;
	}

}